// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.

#pragma once
#include "Interfaces/ITargetPlatformManagerModule.h"
#include "Interfaces/ITargetPlatform.h"
#include "Model/FHotCreatorCreatePatchModel.h"
#include "ExportPatchSettings.h"
#include "SHotCreatorInformations.h"
#include "IPatchableInterface.h"

// engine header
#include "Interfaces/ITargetPlatform.h"
#include "SharedPointer.h"
#include "IDetailsView.h"
#include "PropertyEditorModule.h"
#include "Widgets/Text/SMultiLineEditableText.h"
/**
 * Implements the cooked platforms panel.
 */
class SHotCreatorPatchableBase
	: public SCompoundWidget, public IPatchableInterface
{
public:

	SLATE_BEGIN_ARGS(SHotCreatorPatchableBase) { }
	SLATE_END_ARGS()

public:

	/**
	 * Constructs the widget.
	 *
	 * @param InArgs The Slate argument list.
	 */
	void Construct(	const FArguments& InArgs,TSharedPtr<FHotCreatorCreatePatchModel> InCreateModel);

	FORCEINLINE virtual void ImportConfig() override {};
	FORCEINLINE virtual void ExportConfig()const override {};
	FORCEINLINE virtual void ClearConfig() override {};
	FORCEINLINE virtual void DoGenerate() override {};


	TArray<FString> OpenFileDialog()const;
	TArray<FString> SaveFileDialog()const;

protected:

	TSharedPtr<FHotCreatorCreatePatchModel> mCreatePatchModel;

};

